package org.kth.dks.dks_dht;

import java.util.List;

/**
 * Defines an interface for callbacks that a FailedIntervalHandler requires
 * <p>Title: DKS</p>
 * <p>Description: DKS Middleware</p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: KTH-IMIT/SICS</p>
 * @author not attributable
 * @version 1.0
 */

public interface FailedIntervalCallbackInterface {

    
     /**
   *
   * Instructs the callback system that a request should be sent for
   * finding the information found in the passed intervals. 
   *
   * @param intervals  The searched for intervals. 
   * @param cc         the congurence class that should be used. 
   * @param id         identity of the request, used to identify later downcalls
   * @see DKSCallBackInterface, DKSAppInterface
   */
    public void sendRestoreIntervals(List intervals, int cc, int id);

}
